/**
 * 
 */
package pt.mleiria.security.jbsecmodule;

import org.jboss.system.ServiceMBean;

/**
 * @author NB13712 An mbean interface for a config service that pushes an xml
 *         based javax.security.auth.login.Configuration onto the config stack
 *         managed by the mbean whose name is given by the SecurityConfigName
 *         attribute.
 * 
 * @see org.jboss.security.plugins.SecurityConfigMBean
 */
public interface SecurityConfigMBean extends ServiceMBean {

	/** Get the classpath resource name of the security configuration file */
	public String getAuthConfig();

	/** Set the classpath resource name of the security configuration file */
	public void setAuthConfig(String configURL);

	/**
	 * Get the name of the SecurityConfig mbean whose pushLoginConfig and
	 * popLoginConfig ops will be used to install and remove the xml login
	 * config
	 */
	public String getSecurityConfigName();

	/**
	 * Set the name of the SecurityConfig mbean whose pushLoginConfig and
	 * popLoginConfig ops will be used to install and remove the xml login
	 * config
	 */
	public void setSecurityConfigName(String objectName);

}
